package com.qf.smsplatform.common.enums;

import lombok.Getter;

/**
 * @Author: LeeRui
 * 2021/1/26 下午 8:55
 **/
@Getter
public enum SmsPlatformEnums {
    INTERFACE_CLIENT_ID_ERROR(101,"认证错误：clientId错误"),
    INTERFACE_PWD_ERROR(102,"密码错误"),
    INTERFACE_IP_ERROR(103,"IP校验错误"),
    INTERFACE_CONTENT_ERROR(104,"消息长度错，为空或超长（目前定为500个字）"),
    INTERFACE_MOBILE_ERROR(105,"手机号错误"),
    INTERFACE_SRCID_ERROR(106,"下行编号（srcID）错误"),

    SEARCH_SAVE_LOG_ERROR(201,"添加submit到ES中失败！！!"),
    SEARCH_UPDATE_REPORT_ERROR(202,"更新ES中报告信息失败！！!"),
    ;

    private Integer code;

    private String message;

    SmsPlatformEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
